#include "CLine.h"

CLine::CLine()
{

}

void CLine::setStart(int x, int y)
{
    this->sx = x;
    this->sy = y;
}
void CLine::setEnd(int x, int y)
{
    this->ex = x;
    this->ey = y;
}

void CLine::drawFigure(QPainter *painter)
{
    painter->drawLine(sx, sy, ex, ey);
}

CLine::~CLine()
{

}
